import { createApp } from 'vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import App from './App.vue';
import router from './router'; // 导入路由
import {createPinia} from 'pinia'
import persist from 'pinia-plugin-persistedstate'
import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:8080'
const app = createApp(App);
app.use(ElementPlus);
app.use(router);
app.mount('#app');
app.use(createPinia().use(persist))